//
// Created by liushuai on 2020/10/26.
//
<<<<<<< HEAD
#include "utilTools.h"
void print_linklist(ListNode* head)
{
    ListNode* current = head;
    while (current != nullptr)
    {
        std::cout << current->val << " ";
        current = current->next;
    }
}
void showTree(TreeNode* root)
{
    if (root)
    {
        std::cout << root->val << " ";
        if (root->left)
            showTree(root->left);
        if (root->right)
            showTree(root->right);
    }
=======
#include "tools/include/utilTools.h"
void print_linklist(ListNode* head) {
  ListNode* current = head;
  while (current != nullptr) {
    std::cout << current->val << " ";
    current = current->next;
  }
}
void showTree(TreeNode* root) {
  if (root) {
    std::cout << root->val << " ";
    if (root->left) showTree(root->left);
    if (root->right) showTree(root->right);
  }
>>>>>>> dev
}
